package virtorina.client.room.rpc;

import java.util.LinkedHashSet;
import java.util.LinkedList;

import virtorina.client.admin.dto.LabelDTO;
import virtorina.client.room.dto.InfoDTO;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface GWTInsertQuestionsAsync {

	void insertQuestions(Long id, String question, LinkedList<String> answers,
			LinkedHashSet<String> labels, Integer type, String provider,
			Integer time, AsyncCallback<Long> callback);

	void getAllLabels(AsyncCallback<LinkedList<LabelDTO>> callback);

	void getAccessToAddQuestions(AsyncCallback<String> callback);

	void getQuestionByID(Long ID, AsyncCallback<InfoDTO> callback);
	
}
